﻿
namespace ATA.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.KhachHang"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class KhachHangEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the KhachHangId property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxKhachHangId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the KhachHangId property.
		/// </summary>
		protected System.Windows.Forms.Label uxKhachHangIdLabel;
		
		/// <summary>
		/// TextBox for the TenKh property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxTenKh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the TenKh property.
		/// </summary>
		protected System.Windows.Forms.Label uxTenKhLabel;
		
		/// <summary>
		/// TextBox for the GioiTinh property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxGioiTinh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the GioiTinh property.
		/// </summary>
		protected System.Windows.Forms.Label uxGioiTinhLabel;
		
		/// <summary>
		/// DataTimePicker for the NgaySinh property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxNgaySinh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NgaySinh property.
		/// </summary>
		protected System.Windows.Forms.Label uxNgaySinhLabel;
		
		/// <summary>
		/// TextBox for the MaKh property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMaKh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MaKh property.
		/// </summary>
		protected System.Windows.Forms.Label uxMaKhLabel;
		
		/// <summary>
		/// TextBox for the Cmnd property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxCmnd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Cmnd property.
		/// </summary>
		protected System.Windows.Forms.Label uxCmndLabel;
		
		/// <summary>
		/// DataTimePicker for the NgayCap property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxNgayCap;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NgayCap property.
		/// </summary>
		protected System.Windows.Forms.Label uxNgayCapLabel;
		
		/// <summary>
		/// TextBox for the NoiCap property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxNoiCap;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NoiCap property.
		/// </summary>
		protected System.Windows.Forms.Label uxNoiCapLabel;
		
		/// <summary>
		/// TextBox for the SoDtDk property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSoDtDk;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the SoDtDk property.
		/// </summary>
		protected System.Windows.Forms.Label uxSoDtDkLabel;
		
		/// <summary>
		/// TextBox for the SoDtCty property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSoDtCty;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the SoDtCty property.
		/// </summary>
		protected System.Windows.Forms.Label uxSoDtCtyLabel;
		
		/// <summary>
		/// TextBox for the Fax property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxFax;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Fax property.
		/// </summary>
		protected System.Windows.Forms.Label uxFaxLabel;
		
		/// <summary>
		/// TextBox for the SoGpdkkd property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxSoGpdkkd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the SoGpdkkd property.
		/// </summary>
		protected System.Windows.Forms.Label uxSoGpdkkdLabel;
		
		/// <summary>
		/// TextBox for the DiaChiTt property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDiaChiTt;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DiaChiTt property.
		/// </summary>
		protected System.Windows.Forms.Label uxDiaChiTtLabel;
		
		/// <summary>
		/// TextBox for the HoKhauTt property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxHoKhauTt;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the HoKhauTt property.
		/// </summary>
		protected System.Windows.Forms.Label uxHoKhauTtLabel;
		
		/// <summary>
		/// TextBox for the ParentId property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxParentId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ParentId property.
		/// </summary>
		protected System.Windows.Forms.Label uxParentIdLabel;
		
		/// <summary>
		/// TextBox for the DiaChiCty property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDiaChiCty;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DiaChiCty property.
		/// </summary>
		protected System.Windows.Forms.Label uxDiaChiCtyLabel;
		
		/// <summary>
		/// TextBox for the BranchId property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxBranchId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the BranchId property.
		/// </summary>
		protected System.Windows.Forms.Label uxBranchIdLabel;
		
		/// <summary>
		/// TextBox for the LoaiKh property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxLoaiKh;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the LoaiKh property.
		/// </summary>
		protected System.Windows.Forms.Label uxLoaiKhLabel;
		
		/// <summary>
		/// TextBox for the MaSoHv property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxMaSoHv;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the MaSoHv property.
		/// </summary>
		protected System.Windows.Forms.Label uxMaSoHvLabel;
		
		/// <summary>
		/// DataTimePicker for the NgayDangKy property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxNgayDangKy;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the NgayDangKy property.
		/// </summary>
		protected System.Windows.Forms.Label uxNgayDangKyLabel;
		#endregion
		
		#region Main entity
		private Entities.KhachHang _KhachHang;
		/// <summary>
		/// Gets or sets the <see cref="Entities.KhachHang"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.KhachHang"/> instance.</value>
		public Entities.KhachHang KhachHang
		{
			get {return this._KhachHang;}
			set
			{
				this._KhachHang = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxKhachHangId.DataBindings.Clear();
			this.uxKhachHangId.DataBindings.Add("Text", this.uxBindingSource, "KhachHangId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxTenKh.DataBindings.Clear();
			this.uxTenKh.DataBindings.Add("Text", this.uxBindingSource, "TenKh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxGioiTinh.DataBindings.Clear();
			this.uxGioiTinh.DataBindings.Add("Text", this.uxBindingSource, "GioiTinh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNgaySinh.DataBindings.Clear();
			this.uxNgaySinh.DataBindings.Add("Value", this.uxBindingSource, "NgaySinh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMaKh.DataBindings.Clear();
			this.uxMaKh.DataBindings.Add("Text", this.uxBindingSource, "MaKh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxCmnd.DataBindings.Clear();
			this.uxCmnd.DataBindings.Add("Text", this.uxBindingSource, "Cmnd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNgayCap.DataBindings.Clear();
			this.uxNgayCap.DataBindings.Add("Value", this.uxBindingSource, "NgayCap", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNoiCap.DataBindings.Clear();
			this.uxNoiCap.DataBindings.Add("Text", this.uxBindingSource, "NoiCap", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSoDtDk.DataBindings.Clear();
			this.uxSoDtDk.DataBindings.Add("Text", this.uxBindingSource, "SoDtDk", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSoDtCty.DataBindings.Clear();
			this.uxSoDtCty.DataBindings.Add("Text", this.uxBindingSource, "SoDtCty", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxFax.DataBindings.Clear();
			this.uxFax.DataBindings.Add("Text", this.uxBindingSource, "Fax", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxSoGpdkkd.DataBindings.Clear();
			this.uxSoGpdkkd.DataBindings.Add("Text", this.uxBindingSource, "SoGpdkkd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDiaChiTt.DataBindings.Clear();
			this.uxDiaChiTt.DataBindings.Add("Text", this.uxBindingSource, "DiaChiTt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxHoKhauTt.DataBindings.Clear();
			this.uxHoKhauTt.DataBindings.Add("Text", this.uxBindingSource, "HoKhauTt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxParentId.DataBindings.Clear();
			this.uxParentId.DataBindings.Add("Text", this.uxBindingSource, "ParentId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDiaChiCty.DataBindings.Clear();
			this.uxDiaChiCty.DataBindings.Add("Text", this.uxBindingSource, "DiaChiCty", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxBranchId.DataBindings.Clear();
			this.uxBranchId.DataBindings.Add("Text", this.uxBindingSource, "BranchId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxLoaiKh.DataBindings.Clear();
			this.uxLoaiKh.DataBindings.Add("Text", this.uxBindingSource, "LoaiKh", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxMaSoHv.DataBindings.Clear();
			this.uxMaSoHv.DataBindings.Add("Text", this.uxBindingSource, "MaSoHv", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxNgayDangKy.DataBindings.Clear();
			this.uxNgayDangKy.DataBindings.Add("Value", this.uxBindingSource, "NgayDangKy", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="KhachHangEditControlBase"/> class.
		/// </summary>
		public KhachHangEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_KhachHang != null) _KhachHang.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxKhachHangId = new System.Windows.Forms.TextBox();
			uxKhachHangIdLabel = new System.Windows.Forms.Label();
			this.uxTenKh = new System.Windows.Forms.TextBox();
			uxTenKhLabel = new System.Windows.Forms.Label();
			this.uxGioiTinh = new System.Windows.Forms.TextBox();
			uxGioiTinhLabel = new System.Windows.Forms.Label();
			this.uxNgaySinh = new System.Windows.Forms.DateTimePicker();
			uxNgaySinhLabel = new System.Windows.Forms.Label();
			this.uxMaKh = new System.Windows.Forms.TextBox();
			uxMaKhLabel = new System.Windows.Forms.Label();
			this.uxCmnd = new System.Windows.Forms.TextBox();
			uxCmndLabel = new System.Windows.Forms.Label();
			this.uxNgayCap = new System.Windows.Forms.DateTimePicker();
			uxNgayCapLabel = new System.Windows.Forms.Label();
			this.uxNoiCap = new System.Windows.Forms.TextBox();
			uxNoiCapLabel = new System.Windows.Forms.Label();
			this.uxSoDtDk = new System.Windows.Forms.TextBox();
			uxSoDtDkLabel = new System.Windows.Forms.Label();
			this.uxSoDtCty = new System.Windows.Forms.TextBox();
			uxSoDtCtyLabel = new System.Windows.Forms.Label();
			this.uxFax = new System.Windows.Forms.TextBox();
			uxFaxLabel = new System.Windows.Forms.Label();
			this.uxSoGpdkkd = new System.Windows.Forms.TextBox();
			uxSoGpdkkdLabel = new System.Windows.Forms.Label();
			this.uxDiaChiTt = new System.Windows.Forms.TextBox();
			uxDiaChiTtLabel = new System.Windows.Forms.Label();
			this.uxHoKhauTt = new System.Windows.Forms.TextBox();
			uxHoKhauTtLabel = new System.Windows.Forms.Label();
			this.uxParentId = new System.Windows.Forms.TextBox();
			uxParentIdLabel = new System.Windows.Forms.Label();
			this.uxDiaChiCty = new System.Windows.Forms.TextBox();
			uxDiaChiCtyLabel = new System.Windows.Forms.Label();
			this.uxBranchId = new System.Windows.Forms.TextBox();
			uxBranchIdLabel = new System.Windows.Forms.Label();
			this.uxLoaiKh = new System.Windows.Forms.TextBox();
			uxLoaiKhLabel = new System.Windows.Forms.Label();
			this.uxMaSoHv = new System.Windows.Forms.TextBox();
			uxMaSoHvLabel = new System.Windows.Forms.Label();
			this.uxNgayDangKy = new System.Windows.Forms.DateTimePicker();
			uxNgayDangKyLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxKhachHangIdLabel
			//
			this.uxKhachHangIdLabel.Text = "KhachHangId:";
			this.uxKhachHangIdLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxKhachHangIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxKhachHangIdLabel);			
			//
			// uxKhachHangId
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxKhachHangId);
			this.uxKhachHangId.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxKhachHangId);
			//
			// uxTenKhLabel
			//
			this.uxTenKhLabel.Text = "TenKh:";
			this.uxTenKhLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxTenKhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxTenKhLabel);			
			//
			// uxTenKh
			//
			this.uxTenKh.Width = 250;
			this.uxTenKh.MaxLength = 200;
			//this.uxTableLayoutPanel.Controls.Add(this.uxTenKh);
			this.uxTenKh.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxTenKh);
			//
			// uxGioiTinhLabel
			//
			this.uxGioiTinhLabel.Text = "GioiTinh:";
			this.uxGioiTinhLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxGioiTinhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxGioiTinhLabel);			
			//
			// uxGioiTinh
			//
			this.uxGioiTinh.Width = 250;
			this.uxGioiTinh.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxGioiTinh);
			this.uxGioiTinh.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxGioiTinh);
			//
			// uxNgaySinhLabel
			//
			this.uxNgaySinhLabel.Text = "NgaySinh:";
			this.uxNgaySinhLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxNgaySinhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgaySinhLabel);			
			//
			// uxNgaySinh
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgaySinh);
			this.uxNgaySinh.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxNgaySinh);
			//
			// uxMaKhLabel
			//
			this.uxMaKhLabel.Text = "MaKh:";
			this.uxMaKhLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxMaKhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaKhLabel);			
			//
			// uxMaKh
			//
			this.uxMaKh.Width = 250;
			this.uxMaKh.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaKh);
			this.uxMaKh.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxMaKh);
			//
			// uxCmndLabel
			//
			this.uxCmndLabel.Text = "Cmnd:";
			this.uxCmndLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxCmndLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxCmndLabel);			
			//
			// uxCmnd
			//
			this.uxCmnd.Width = 250;
			this.uxCmnd.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxCmnd);
			this.uxCmnd.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxCmnd);
			//
			// uxNgayCapLabel
			//
			this.uxNgayCapLabel.Text = "NgayCap:";
			this.uxNgayCapLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxNgayCapLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgayCapLabel);			
			//
			// uxNgayCap
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgayCap);
			this.uxNgayCap.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxNgayCap);
			//
			// uxNoiCapLabel
			//
			this.uxNoiCapLabel.Text = "NoiCap:";
			this.uxNoiCapLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxNoiCapLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNoiCapLabel);			
			//
			// uxNoiCap
			//
			this.uxNoiCap.Width = 250;
			this.uxNoiCap.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxNoiCap);
			this.uxNoiCap.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxNoiCap);
			//
			// uxSoDtDkLabel
			//
			this.uxSoDtDkLabel.Text = "SoDtDk:";
			this.uxSoDtDkLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxSoDtDkLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoDtDkLabel);			
			//
			// uxSoDtDk
			//
			this.uxSoDtDk.Width = 250;
			this.uxSoDtDk.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoDtDk);
			this.uxSoDtDk.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxSoDtDk);
			//
			// uxSoDtCtyLabel
			//
			this.uxSoDtCtyLabel.Text = "SoDtCty:";
			this.uxSoDtCtyLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxSoDtCtyLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoDtCtyLabel);			
			//
			// uxSoDtCty
			//
			this.uxSoDtCty.Width = 250;
			this.uxSoDtCty.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoDtCty);
			this.uxSoDtCty.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxSoDtCty);
			//
			// uxFaxLabel
			//
			this.uxFaxLabel.Text = "Fax:";
			this.uxFaxLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxFaxLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxFaxLabel);			
			//
			// uxFax
			//
			this.uxFax.Width = 250;
			this.uxFax.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxFax);
			this.uxFax.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxFax);
			//
			// uxSoGpdkkdLabel
			//
			this.uxSoGpdkkdLabel.Text = "SoGpdkkd:";
			this.uxSoGpdkkdLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxSoGpdkkdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoGpdkkdLabel);			
			//
			// uxSoGpdkkd
			//
			this.uxSoGpdkkd.Width = 250;
			this.uxSoGpdkkd.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxSoGpdkkd);
			this.uxSoGpdkkd.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxSoGpdkkd);
			//
			// uxDiaChiTtLabel
			//
			this.uxDiaChiTtLabel.Text = "DiaChiTt:";
			this.uxDiaChiTtLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxDiaChiTtLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChiTtLabel);			
			//
			// uxDiaChiTt
			//
			this.uxDiaChiTt.Width = 250;
			this.uxDiaChiTt.MaxLength = 200;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChiTt);
			this.uxDiaChiTt.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxDiaChiTt);
			//
			// uxHoKhauTtLabel
			//
			this.uxHoKhauTtLabel.Text = "HoKhauTt:";
			this.uxHoKhauTtLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxHoKhauTtLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxHoKhauTtLabel);			
			//
			// uxHoKhauTt
			//
			this.uxHoKhauTt.Width = 250;
			this.uxHoKhauTt.MaxLength = 200;
			//this.uxTableLayoutPanel.Controls.Add(this.uxHoKhauTt);
			this.uxHoKhauTt.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxHoKhauTt);
			//
			// uxParentIdLabel
			//
			this.uxParentIdLabel.Text = "ParentId:";
			this.uxParentIdLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxParentIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxParentIdLabel);			
			//
			// uxParentId
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxParentId);
			this.uxParentId.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxParentId);
			//
			// uxDiaChiCtyLabel
			//
			this.uxDiaChiCtyLabel.Text = "DiaChiCty:";
			this.uxDiaChiCtyLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxDiaChiCtyLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChiCtyLabel);			
			//
			// uxDiaChiCty
			//
			this.uxDiaChiCty.Width = 250;
			this.uxDiaChiCty.MaxLength = 200;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDiaChiCty);
			this.uxDiaChiCty.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxDiaChiCty);
			//
			// uxBranchIdLabel
			//
			this.uxBranchIdLabel.Text = "BranchId:";
			this.uxBranchIdLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxBranchIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxBranchIdLabel);			
			//
			// uxBranchId
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxBranchId);
			this.uxBranchId.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxBranchId);
			//
			// uxLoaiKhLabel
			//
			this.uxLoaiKhLabel.Text = "LoaiKh:";
			this.uxLoaiKhLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxLoaiKhLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxLoaiKhLabel);			
			//
			// uxLoaiKh
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxLoaiKh);
			this.uxLoaiKh.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxLoaiKh);
			//
			// uxMaSoHvLabel
			//
			this.uxMaSoHvLabel.Text = "MaSoHv:";
			this.uxMaSoHvLabel.Location = new System.Drawing.Point(3, 468);
			this.Controls.Add(this.uxMaSoHvLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaSoHvLabel);			
			//
			// uxMaSoHv
			//
			this.uxMaSoHv.Width = 250;
			this.uxMaSoHv.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxMaSoHv);
			this.uxMaSoHv.Location = new System.Drawing.Point(160, 468);
			this.Controls.Add(this.uxMaSoHv);
			//
			// uxNgayDangKyLabel
			//
			this.uxNgayDangKyLabel.Text = "NgayDangKy:";
			this.uxNgayDangKyLabel.Location = new System.Drawing.Point(3, 494);
			this.Controls.Add(this.uxNgayDangKyLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgayDangKyLabel);			
			//
			// uxNgayDangKy
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxNgayDangKy);
			this.uxNgayDangKy.Location = new System.Drawing.Point(160, 494);
			this.Controls.Add(this.uxNgayDangKy);
			// 
			// KhachHangEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "KhachHangEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
